package cz.semjobKB.virtuoso.document.impl;

import cz.semjobKB.virtuoso.document.api.IResourceDetail;

import java.util.List;

/**
 * Contains information about a database resource
 */
public class ResourceDetail implements IResourceDetail {

	private final String resourceUri;
	private final String resourceLemma;
	private final List<String> resourceRepresentation;
	private final String resourceLanguage;

    /**
     * Constructor
     * @param resourceUri               Resource URI
     * @param resourceLemma             Resource Lemma
     * @param resourceRepresentation    List of the resource textual representations
     * @param resourceLanguage          Language of the resource
     */
	public ResourceDetail(String resourceUri, String resourceLemma, List<String> resourceRepresentation, String resourceLanguage){
		this.resourceUri = resourceUri;
		this.resourceLemma = resourceLemma;
		this.resourceRepresentation = resourceRepresentation;
		this.resourceLanguage = resourceLanguage;
	}	
	
	
	public String getResourceUri() {		
		return resourceUri;
	}

	
	public String getResourceLemma() {
		return resourceLemma;
	}

	
	public List<String> getResourceRepresentation() {
		return resourceRepresentation;
	}

	
	public String getResourceLanguage() {
		return resourceLanguage;
	}

}
